Auto merge of #5181 - alexcrichton:selectively-write-dep-info, r=matklad
authorbors <bors@rust-lang.org>
Wed, 14 Mar 2018 22:17:18 +0000 (22:17 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Mar 2018 22:17:18 +0000 (22:17 +0000)
commit1eb4c8f1b41cf299abcd6d2bf427045ecbcf6595
treedf9894ae46dc5c2161083c89006e77531ba63347
parent83a3084cdd4de32f885d3d28132138370c913e9a
parentf60567666fae720d9a7add8e929f19d957f53f23
Auto merge of #5181 - alexcrichton:selectively-write-dep-info, r=matklad

Don't rewrite dep-info files if they don't change

Similar to how we treat lock files, read the contents, compare, and if they're
the same don't actually write the file.

Closes #5172